<!doctype html>
<html  style="font-size: 70%;">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>说&#28857;什么吧</title>
<link rel="stylesheet" type="text/css" href="{$_G['URL']['APP_CSS']_REPLY}reply.css" />
<script type="text/javascript" src="{$_G['URL']['APP_JS']}jquery.min.js"></script>

</head>
<body>
	
<style>
.module-mobile-cmt-box .cmt-box-press {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #f5f5f5;
    z-index: 10000;
}
.module-mobile-cmt-box .mobile-cmt-box {
    display: block;
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
}
.module-mobile-cmt-box .cmt-box-mask {
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    -webkit-opacity: .4;
    opacity: .4;
    z-index: 10001;
}
.module-mobile-cmt-box .cmt-box-title-left {
    float: left;
    color: #999;
    font-size: 1.375em;
    padding: .484848485em;
}
.module-mobile-cmt-box .cmt-box-title-right {
    float: right;
    color: #333;
    font-size: 1.375em;
    padding: .484848485em;
}
.reset-g textarea {
    font-size: 100%;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    outline: 0;
    padding: 0;
}
textarea, input {
    font-family: "黑体-简";
}
.module-mobile-cmt-box .cmt-box-textarea {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border: 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    resize: none;
    height: 7em;
    padding: .625em;
    font-size: 1.3333333333333333em;
    line-height: 1.5em;
}
.module-mobile-cmt-box .cmt-box-footer {
    padding-left: .833333333em;
}
.module-mobile-cmt-box .box-footer-left {
    position: relative;
    float: left;
}
.module-mobile-cmt-box .box-footer-right {
    float: right;
}
.module-mobile-cmt-box .face-list {
    background: #fff;
    border: .083333333em solid #e5e5e5;
    width: 24em;
    position: absolute;
    top: 4.25em;
    padding: 1.666666667em 0 0;
    border-radius: .416666667em;
    z-index: 5;
}
.module-mobile-cmt-box .face-arrow-up {
    width: 0;
    height: 0;
    border-left: .833333333em solid transparent;
    border-right: .833333333em solid transparent;
    border-bottom: .833333333em solid #e5e5e5;
    line-height: 0;
    position: absolute;
    top: -.833333333em;
    left: .916666667em;
}
.module-mobile-cmt-box .face-arrow-up-press {
    width: 0;
    height: 0;
    border-left: .75em solid transparent;
    border-right: .75em solid transparent;
    border-bottom: .75em solid #fff;
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: -.666666667em;
    left: 1em;
    z-index: 5;
}
.module-mobile-cmt-box .face-list-w {
    width: 24em;
    height: 15.333333333em;
    display: block;
}
.reset-g ol, .reset-g ul {
    list-style: none;
    font-size: inherit;
}
 .module-mobile-cmt-box .face-list-item {
    float: left;
    width: 4em;
    height: 3.833333333em;
    text-align: center;
}
.module-mobile-cmt-box .face-item.face09 {
    background-position: 0 -21.333333333em;
}
.module-mobile-cmt-box .face-item {
    display: inline-block;
    background: url(//changyan.sohu.com/mdevp/extensions/mobile-cmt-box/041/imgs/face.png) no-repeat center;
    width: 2.666666667em;
    height: 2.666666667em;
    background-size: 5.333333333em auto;
}
.module-mobile-cmt-box .box-footer-right .box-footer-button.disable {
    pointer-events: none;
    background: url(//changyan.sohu.com/mdevp/extensions/mobile-cmt-box/041/imgs/button-defalut.png) no-repeat center;
    background-size: 7.916666667em;
}
.module-mobile-cmt-box .box-footer-button {
    width: 9.5em;
    height: 4.333333333em;
    background: url(//changyan.sohu.com/mdevp/extensions/mobile-cmt-box/041/imgs/button.png) no-repeat center;
    background-size: 7.916666667em;
}
</style>	
<div class="module-mobile-cmt-box">
    <div class="cmt-box-press" style="height: 773px;"></div>
    <div class="mobile-cmt-box">
        <div class="cmt-box-mask" style="height: 773px;"></div>
        <div class="cmt-box-title-w cy-clearfix">
            <span class="cmt-box-title-left">{$fans['nickname']}:</span>
            <span class="cmt-box-title-right" onclick="javascript :history.back(-1);">取消</span>
        </div>
        <div class="cmt-box-textarea-w">
            <textarea class="cmt-box-textarea" id="content" placeholder="来说两句吧..."></textarea>
        </div>
        <div class="cmt-box-footer cy-clearfix">
            <div class="box-footer-left">            </div>
            <div class="box-footer-right">
                <div class="box-footer-button"></div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	  $(".box-footer-button").click(function(){
	    
		  var content = $("#content").val();
		  if(content == ''){
	    	
			  tips('先说&#28857;什么吧');
			  return false;
	      }
		  $.ajax({
				 type:'POST',
				 dataType : "json",
				 data:{content:content},
				 url:'/{php echo createMobileUrl("reply",array("op"=>"post","themeid"=>$themeid));}',
				 success:function(data){
					  var json = data.message;
					  if(json.errcode == 0){
						  tips2(json.msg,json.url);
					  }else{	 
						  alert(json.msg);
					  }
				 }
			 });
		  
		  
	  });
	});
</script>
{include file='common/tips'}

</body>
</html>
